﻿Imports Aricie.DNN.Modules.LuceneSearch.UI

Namespace Aricie.DNN.Modules.LuceneSearch.Business

    Public Class SearchParams


        Public Property LuceneFilterQuery As New LuceneFilterQuery
        Public Property SortField As String = String.Empty
        Public Property PageSize As Integer = 0
        Public Property PageIndex As Integer = -1
        Public Property NeedNewBind As Boolean = False


        Sub New()
        End Sub

        Sub New(ByVal objQuery As LuceneFilterQuery, ByVal sortField As String, ByVal pageSize As Integer, ByVal pageIndex As Integer, ByVal needBind As Boolean)
            _LuceneFilterQuery = objQuery
            _SortField = sortField
            _PageSize = pageSize
            _NeedNewBind = needBind
            _PageIndex = pageIndex
        End Sub


    End Class

End Namespace